adding SFO toolbox from A. Kruase