Added reference to last element, trims third and fourth text