refactor
scanning code
settings