add insert command, move constants