wave creation work, still need to handle errors properly
handing duplicate wave error