add fb conversion code