acid detection