now the setUpDatabase function works properly