More modifications to learn about grid class.