adding type checker
adding DriverCommand
removed matchFunction