unify bind functions