shared_ptr in da place