Added functions to read coordinates. But isTouched function now doesn't works