cleaned up comments in toperiod, may still call it collapse which sounds cooler