added bindAll and bind