initial html generation