switched to regular expressions!