Adding  variable to parser construct method