adding div2 code