changed touches function