Implemented binding in callback func