use bundle install and added threaded example