initial grid class