NEW: "solved" assignment 5