improvements to nudge, more experimental code