add grid configuration