Added inventory call function.