add bind and unbind interface