Added sp to populate inventory grid more efficiently