Can you extract this into a well-named method so I know why this is protected behind a conditional?