added code to html pages