added implicit conversion to orig id type