add check to ensure that both operands are not pointers