Validator gets arraylist