added demo for bwt