Adding TODO to remind myself to implement a more efficient solution.