Change timing function.