oops forgot the database class