tutorial up to section 3.3