change shakeAnimation to a class function
change result