working on get-inventory