added warning to remind me to add try catch block for missing values in xml.