Adding grid output (instead of only text)