befor the DataBase will work