added touch to if