further implementation of the SAML model