added circuit class definition