commit completed and tested assignment 2