That could definitely work, as is much simpler than iterating through every key