working split.py