hardware.js added