html render first implementation