test function for touch