added code that renders bricks, cols are off by one