mod1 first half 

please review my code