First prototype with new magnitude/averager callback