MTG utils for node