refactor reBind