added the html code
fixed some bugs
fixed some more bugs
fixed some more bugs