Update s2.py

separated stuff