got the writeup of ex1 done