throws errors if parentheses are missing after class instantiation