refactored view
Merge pull request #4 from LouisaBarrett/first-test

refactored view