some cleanup and minimal docs