some work for preference settings