added a mktouch function