layout phase 1