fixed which method calls shake()