random fields for node