Finished beta version for shake event