added pire code