first version of strstr