adapted db eval