cleanup and document examples