completed homework 3.3