working on linked list, adding back currentPred