Reshuffle templates