Collapsing duplication in the view