committing homework assignment 2