assignment 2: complete 2.1