CMD_DECL work! todo: add auto cmd test on makefile