accept Uri as input to check