Refactored circlehelper