inventory back to non oop