pep 008
Bind functions instead of creating empty lambdas