conf model
refactor