finished homework 2.3