void end(){
		System.out.println("ending remote Object");
		try{
		// write to log file
		PrintWriter logWriter = new PrintWriter(new File("server.log"));
		for (String value : readerLog)
			logWriter.write(value + "\n");
		for (String value : writerLog)
			logWriter.write(value + "\n");
		logWriter.close();
		}catch(IOException e){
			e.printStackTrace();
			throw new RuntimeException();
		}
	}