updated velocity test