Corrected coverage function.