private void process(String json){
        if(json.equals("")) return;
        Gson gson = new Gson();

        Response response = gson.fromJson(json, Response.class);

        long nextTime = time;
        System.out.println("Code: " + response.getMeta().getCode());
        if(response.getMeta().getCode() == 200){
            for(Tag tag : response.getData()){
                if(!config.getSecondTag().equals("") && !tag.getTags().contains(config.getSecondTag())) continue;

                if(ids.contains(tag.getId())) continue;
                /*System.out.println(tag.getCreated_time() + " " + time);
                System.out.println(tag.getCreated_time() >= time);
                if(tag.getCreated_time() <= time){
                    System.out.println("continue");
                    continue;
                }*/

                if(firstRun){
                    ids.add(tag.getId());
                    continue;
                }

                System.out.println("created time: " + tag.getCreated_time());
                ids.add(tag.getId());

                nextTime = Math.max(nextTime, tag.getCreated_time());
                ic.addImage(tag.getImages().getThumbnail().getUrl());

                String file = "images/" + tag.getId() + ".jpg";
                if(!saveImage(tag.getImages().getStandard().getUrl(), file)) continue;

                File f = new File(file);
                file = f.getAbsolutePath();
                printer.print(file);
            }
            firstRun = false;
        }

        time = nextTime;
    }