adding spid.py