completed exercise 3 about model and collections