Added touch recognition