Added this so that the conditional test could be reused.