nice that the naive implementation works with optimization!

Please add a comment to that effect so people don't get nervous later.