psudo code and comments, could not recreate_object_graph