added destructor for sll