changed add node, should work with strings when type-checking works