add ability to bind to the function