remove wrong comment
replace raw pointers with shared pointers