different htmls for different modes