You indented the return line here. Now that line will only be returned if dummy is not True. It's like the "baz" line in the example that I sent to you. Dedent it 4 spaces and also add a space after "'dummy'," in your if-statement.