Added functionality to Grid