identation
database logic moved to model
database logic moved to model
database logic moved to model