PA2 function finished