fix example file and add example