Can we come up with a more efficient solution?