public synchronized Status submitNumbers(int[] numbers){
		System.out.println("running");
		if(!mode.equals(ClientMode.GenerateNumbers))
			return Status.pause;
		int needed = numberpool.length - currentindex;
		if(needed > numbers.length)
			needed = numbers.length;
		for(int i = 0; i < needed; i++){
			numberpool[currentindex++] = numbers[i];
		}
		if(currentindex == numberpool.length){
			filemanager.writeFile(numberpool, currentoutput++);
			System.out.println(currentindex);
			currentindex = 0;
		}
		return Status.run;
	}