all commands and queries declarations