passed url to where state names are given