some small changes and basic things database