Rectifier added and tested