SFM library