Changes to actions tutorial code for 4.2.c