removing starts_with() in favor of strpos()