Improving the node ico function.