how does mechanical shaker works