Improved variations generation.