better check for substring