Started implementing downtime calculations