THE VALIDATIONS that don't pass are: 1. The addCatsToMap() method should add all cats in the String[] cats array to the collection in accordance with the task conditions. recomandation from mentor: Be sure that the addCatsToMap() method adds all cats in the String[] cats array to the collection in accordance with the task conditions. 2. The program should display the contents of the collection on the screen, each pair on a new line and with the key and value separated by a hyphen. public class Solution { public static void main(String[] args) throws Exception { String[] cats = new String[]{"Tiger", "Missy", "Smokey", "Marmalade", "Oscar", "Snowball", "Boss", "Smudge", "Max", "Simba"}; HashMap<String, Cat> map = addCatsToMap(cats); for (Map.Entry<String, Cat> pair : map.entrySet()) { System.out.println(pair.getKey() + " - " + pair.getValue()); } } public static HashMap<String, Cat> addCatsToMap(String[] cats) { HashMap<String, Cat> map2 = new HashMap<>(); for(int i = 0; i < cats.length; i++){ map2.put(cats[i], new Cat("Cat")); } return map2; } public static class Cat { String name; public Cat(String name) { this.name = name; } @Override public String toString() { return name != null ? name.toUpperCase() : null; } } }