Moved grid into _grid variable