commit the first two questions of assignment