updated example and HTML