add command query