added delta time for each position calculation