commit 1: completed assignment 2