completed assignment #2