public void addTime(String showName, String dei, String roomName, Time time){
        Days day = Days.valueOf(dei);
        int d = day.ordinal();
        for (Show show : days[d].getShows()) { //iter the show array
            if (!show.getName().equals(showName)){ //see if there is a show with tha correct name
                for (Room room : show.getRooms()) { //iter the rooms of the given show
                    if (!room.getName().equals(roomName)) { //see if there is a room with the same name
                        for (Time time1 : room.getTime()) { //iter the time array
                            if (!time1.equals(time)){ //see if there is a show for this time already there
                                room.addTime(time);
                            }
                        }
                    }
                }
            }
        }
    }