When I first tried it.......it states some error.......so when I added an additional earth to the secondary it was working fine..........the capacitor is for filtering the ac triples in the output........we can also use an inductor parallel to the capacitor to further filter.......