completed lecture 6 - inline templates copy