import more settings; refactoring