added functions stubs for ms2