cleanup and markdown