added enum CommandTypes