taking into account of the needs or inventory