end of quarter clean up