circle.init function