added wave class