Method to reverse the linked list, turnedoff modules