added slides and code from session 6