added Homework 3.1