sequence wrapped in a shared ptr