added wave and freq tables