medium circuit example