beginnings of html generation