added check for operand2