program is hitting Define and returning 'no values returned' from Node* Define