shuffle bits of code around for easier experimentation (nw)