modified wrapper demo