example code for the new ItemMatrix and quantity