attempting to get this to union recurrsively