need to modify captures. getting repeats