changed size of grid scan, output formatting changes