Is this solution dumb or something? I feel like I'm missing something obvious.