completed assignment with full comments