handle ptr types and their elems, and a little more strings