tweeting function in bindings