reversed diodes D2 and D4 to correct orientation