improved grid output 2