work for assignment 5