video 28 added more functions to database class