switched to smart pointers in nodelets