initialize layout