fixed layout of grid and added some newlines