Function 1 is done.