added grade stuff to main grid