fixes copy&paste error in final code sample