useless methods of class Node were deleted