work for assignment 1