generalized inventory -> container