refactoring
settings and something else