simplifying strstr interfaces