>abs((position two - position one) per time unit) Ooops, thanks for the correction. I inadvertantly left that off :) Frederic Breitwieser Bridgeport, CT 06606 Homebrew Automotive Website: http://www.xephic.dynip.com/