Helper refactoring of view