Nit: args order could be loc, gran, range, rollupType