grid-archive example code added