checking for operands