using threshold speed