to_html takes class param