added method to calculate ASR