the source code for InsightNote