changed addFirst