implement reduction canvas