add LinearList class