Pointer arithmetic galore

But hey, it works!