edit lecture: add as pattern to lecture 09