clean/fold
supplemental functions working