Refactoring textItem by using closure... I love that