using replace! instead of matchall