amplitude was always zero, now fixed