implementing url check