split CMD_PROC into utility function + CMD_PROC, new command bare;2A