Updated first function of PA03