added circuit diagramms and sorted everything