rearranged the speed test