add "require" to node class