added database model prototype