fix time slice + extend example