#77 creating html if required