Revising the 'more complicated program' section that leads into functions