modified wave2.o,.out,.stats