Bo Qian's video code snippets with my own comments