moving inventory from shared_ptr to id's