hacking on Signal.py, started writting split function