modularized parse and groupby rest days