sosi conversion routines