added assignment 10 and loops