updated to allow word (nsstring) output, location input (instead of
cllocationcoordinate2d)