base and grid