added time slicing and ktbs