added inventory array.