Added new class and updated dynamic output based on array (JSON)