poc with unique_ptr