homework 3 version 2 13122014