add some function to DrawNode