implemented mode-based settings, etc.