added multivariable functionallity to parser