made db changes according to part 2