added example.html
simpler render function