updated public for instead of private for replication