grid class working