completed part 6 - models and databases