updated example and git repository