add generation counter to html. add extra divs.