updated view logic
Merge pull request #5 from ninachurch/specs

updated view logic