Changed shake threshold to 10