turn on true c++11 mode and use std::shared_ptr now