Added Xgrid check