You know it's bad when you're sketching circular buffer calculations on the back of a lunch receipt!