Modified to inherited node clases