Added callback function to specify item data