add bind and unbind methods