finished video 32 and i refactored my code to use database class.