allowing single cred to be passed in