finished part 1 and add populate db script.