removing inventory class