adding timediff
wip