generate special code for Node