Use detect call to simplify it after review