CODE REFACTORING (ITEM VIEW)