a single get_credentials() call, typos corrected