Be more consistent in examples

Use filter consistently as variable name, do not switch to f in between, suddenly.