Yes, extract to a helper method if possible.