binding for functions passed in