some useful examples of closures
prototypeBind