changed name from screen to device. added touch check