add the inventory simulation program written for Jiao in 2010-05