working on replica