adding some basic layout code