factor out probes.py