add homework 3.1