use :exists instead of deprecated .exists