added a check for too many operands