an example without an api