reorganize demo file