beginning the command parser, needs to be changed though