modify bakery.js