replaced replaceAll with replace