roughly complete application layout