Can you write sample of code please?