passed grid into room class