prelim db class