added aggregate_interval option
v0.2.2