assignment #5: layout