first 2html

better than the first php version