adding removing waves works properly now.