modified 21.js