Using math, rather than an electronic device, was the way to go.