added database model