working mixins and examples for both 8 and 16 grids