added newcode2