changed for touch events