starting to pull out useful bits from the incoming xml