Added more wave file code