circle funtion completed