Fixed the duplicating node, plus got the extra credit