more logging, plus a generic find-by-object-id