Instance should be outside condition