function for SCE added instead of inline
fix for NSM units
ready for WPS run