homework upto option 3