updated to factorie 1.0