tools.js added