implement diamonds.