split the html program to two for ease of editting