unstable version of speed recognition