Added replacecr()