private Pair<ImageView, String> loadImageWithCaption(int fileId, String caption, Map <String,
            Integer> weaponMap, Integer id) {
        try {
            //TODO: USE BELOW WHEN INFO IS CHANGED
            System.out.println(fileId);
            var image = new ImageView(myLogic.getImage(fileId));
            System.out.println("**********");
            System.out.println(image);
            weaponMap.put(image.toString(), id);
            image.setFitWidth(100);
            image.setFitHeight(100);
            Pair pair = new Pair<>(image, caption);
            return pair;
//            return new Pair<>(image, caption);
        }
        catch(Exception e){
            System.out.println(e);
            //This shouldn't ever happen
        }
        return null;
    }
private Pair<ImageView, String> loadImageWithCaption(int fileId, String caption, Map <String,
            Integer> weaponMap, Integer id) {
        try {
           
            System.out.println(fileId);
            var image = new ImageView(myLogic.getImage(fileId));
            System.out.println("**********");
            System.out.println(image);
            weaponMap.put(image.toString(), id);
            image.setFitWidth(100);
            image.setFitHeight(100);
            Pair pair = new Pair<>(image, caption);
            return pair;
        }
        catch(Exception e){
            System.out.println(e);
           
        }
        return null;
    }
private pair<imageview, string> loadimagewithcaption(int fileid, string caption, map <string, integer> weaponmap, integer id) { try { system.out.println(fileid); var image = new imageview(mylogic.getimage(fileid)); system.out.println("**********"); system.out.println(image); weaponmap.put(image.tostring(), id); image.setfitwidth(100); image.setfitheight(100); pair pair = new pair<>(image, caption); return pair; } catch(exception e){ system.out.println(e); } return null; }