WIP add option to process time frame of the input