added processing & verify of gesture mode