updated tutorial with services