First for homework 3