Improved code in string extras