settingslogic added