getSpeed, need testing