revised tutorial 1