implemented first draft of collection and view