Added tutorial code