minor change to use WaveQTL function