encoding shuffle