Made changes to wave