We don't need it anywhere else so I'd like to keep it in this function for readability