add options for preferences and stack/withoutStack and toggeling