This is to verify that the conditional logic in factory works.