first version of FB extraction