Add nf and change the visualize