A demo code for dsirnlp#6