the error in circle generator corrected