breaking out the layouts