make Node an inner class