added itemCode to variables