improving inventory tables