put instrument in instrument.js