working .exists pipeline. Debug still in
cleanup debug