re share (fixing bug and change instrument) code by : me little help from @Arnold_Perlstein and @hdr1453_2