homework 3 - layout