replace copy of FPState with import of FPState