Creating tutorial code