Changes for new layout andcount-inventory added.