Added time_val.set(int)