minimized the copying in the PF