updated bob.js to make it a set order or iteration