altered model to remove db persistence