pointer cheat sheet and expand 'smart pointers'