changed model to remove db persistence