Changed parser method to parse