added new tutorial code