extended pfp lib