Adding debug grid