Added overloaded move_ptr function just because