refactored views
Merge pull request #7 from LouisaBarrett/third_test

refactored views