first version with url check