implemented custom html