added circuit diagrams