add bind function sample