auto PFA prototype implementation