shake detector added