This was the whole point of the function, remember we have inventoryGrid and depositBoxGrid etc etc