add scoped_ptr from boost