adding gpu check