MSL functions