Made grid graphically functional