added voltage monitor and replaced protction diodes