Basic working version of bind