works better with a valid URL
removed 4th clause