added HTML output option