replacing operands is working