Added replication check