finalized initial layout