Wrote condition for display required and optional circle