main grid system done