improved layout example