Spelling error: retreiveHeaders -> retrieveHeaders