added addFirst() method