optimization using time_split var