working onto application internal use of object references instead of ids