touch setup function.