changes to bonus2.js