assignment 6 exercises