rearrange the demo code