fix several bugs in the slides and add more examples