updated index and example page