Replace Elements

Replace elements