wave name added as parameter