started to get regexes worked out