adding assignment 6