Shuffle the formula