Circumference function working