using velocity sample