added inputs.js