a few twiddles