removing 'replace' method