add grid main