Added some mslam functions