added demo
simplified bind