optimizing html
lots of stuff