add grid functionality to OccAgent