public void run(){
		System.out.println("in run method ");
		synchronized(this){
			try {
				for(int i = 0; i < 100; i++){
					total += i;
					System.out.println("total: "+total);
					wait(100);
				}					
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		notify();
	}