inspecting the user agent