is it called like inventory.grid?  I think it should be, rather than a separate variable.