cleanup and example