breaking out main circle function into subfunction and adding dubbling of circles