added amplitude reading method