fixed bug on line 214- missing parenthesis