Refactored some code in Views