Improved the string class