can you use item here too instead of hierarchy.getItem() ?