2nd upd tst code