Created a function to parse intelligence, not used for now