Second function completed.