partially working before fpout