omg forgot to increment counter in mosaic pattern