removed counted_ptr

not tested