Feature/function sf init