public void updateAch(){
    	
    	double d = p.getCash();
        if(d >= 10000){
        	if(ach.updateAch1() == true){
        	values.addAchievementScore();
        	statusbar.setText("You got over $10,000!");
        	}
        }
        if(d >= 50000){
        	
        	if(ach.updateAch2() == true){
            	values.addAchievementScore();
            	statusbar.setText("You got over $50,000!");
            	}
        	
        }
        if(d >= 100000){
        	
        	if(ach.updateAch3() == true){
            	values.addAchievementScore();
            	statusbar.setText("You got over $100,000!");
            	}
        	
        }
        if(d >= 1000000){
        	
        	if(ach.updateAch4() == true){
            	values.addAchievementScore();
            	statusbar.setText("You got over $1,000,000!");
            	}
        	
        }  
        
        
        achLabel.setText("Achievement Score: " + values.getAchievementScore());
        repaint();
    	
    }