How about extracting it to a separate method?