bindAll helper