@Override
    public void run() {

        while (cloudMap.getNoMaps()<CloudMapPanel.sampleSize && !stop) {

            cloudMap.addMaps( 1 );
            try {
                Thread.sleep( 5 );
            }
            catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
        while (cloudMap.getNoPlaytestedSamples() < CloudMapPanel.sampleSize && !stop) {
            cloudMap.playtestSample();
        }
        
    }