adding some processing for items