add string length support