added settingsInterface for saving settings