modification replication.java