srm functions