added PFBRECO functionality
removed debug printouts