used TDD to create resources to view in index