assignment 5 and assignment 6