Added the ability to predict by shaking