Port FFOS to SGYD