Added radius calculation