added export of grid