insert divs into registers