Prepare for next function.