implementation of command api pre-reqs