by measuring the speed