added amplitude normalization