Adding my version of separate.py