Using event.getItem()