various twiddles