Added checkUrl