getting circuit value