adding validate_operands