layout code alteration