included searching for pattern start on finding the pattern, removed from api