added check against speed limit