Code i have written