first pass at typestr()