copying HTML from TOm