reformatted main.html