homework 3.2
homework 3.1