Woring on getting unique pointer done