renamed .h file for sm