porting to time delta