Adding a touch function.