Or extract the code to a separate method