adding echo to write html lines