remove: commented code and make node a private inner class