retrieve main sm