added inventory history feature