groupByDateTime
extract n stuff
eliminate time from state
slow state-conserving
seems to work alright