will use an HTML template this function is just a trial and error #7