implemented spikepooler.py