added node inner class