Added wave node function.