refactor binder