change model for retrieving view | added helper methods