can we put it under the if block?