add 'string to point' method