cleaned up string.py