integrated parser into the controller.