finished video 32; i refactored my code to use the database class