Added PA code