Home work 2 (in progress)