design the basic layout