rewrote html framework in index.html