work for assignment 2