adding assignment 7