added pExtra for additional function