add command compact