wave generator improvements