extract fo from raw