Implemented Shake Feature