Randomly vary states and devices