Shorten the example and add html output