Revised tutorial