Refer to the two examples in index.html