Implementation of two PEAs