add a picker to select the time type