add raw pointers case