lamp formatting