added debug info for amplitude
changed amplitude to 10000.0