now assumes each frame is 16ms