Created by: qjing666
Unify the variable names in examples and add more comments, to make examples more easy to follow.