added bool set method to parser