using custom html mode