-- changed availability metric to integer