adding an op amp section which I missed (which I don't yet fully understand the function of)