spikes_cap.py now PEP 8