transfered enum command type to Parser