got html gen working