Removed throws Exception for getAddresses and added .trim() to External