it took a few minutes for eldred to shake the cobwebs from his head and remember that he did use profanity with the jailed attorney as he was trying to tell him what a writ of habeas corpus was used for .