All of the function is completed.