added inventory class