add session 7 example code