homework 2 & 3