changing execution to loop through items, so any item kind could be handled if needed