check detection