return credential when making new cred