a bit of spywork