made complex node evaluation cleaner