time -> duration