properly initialize inventory