changes the way database works