added extra flavor functionality