adding function to epp