added autocompletion by wave name function