Added replaceAll method