added as an example
wrapped json objects in class objects, fixed issue with incorrect outages being displayed