Title: Study of synthesis and redox switching of polypyrrole and poly(3,4-ethylenedioxythiophene) by using in-situ techniques