moved goal to Grid (for heuristic access)