added features to linked list