speed sampling added