wrote op_lookup