refactor circle exercice