Modiications to tutorial examples