updated example with a fully fledged example page