CreateNode method is done.