add node_info decorator