implement VARCHAR and CHAR types