How can we enter this function the second time per run? Please explain in a comment.