example and cleanup